package cn.buddha.jesdp.strategy.complex.service.impl;

import cn.buddha.jesdp.strategy.complex.enums.PaymentChannelEnum;
import cn.buddha.jesdp.strategy.complex.service.IPaymentOperate;
import org.springframework.stereotype.Service;

/**
 * @ClassName PayWeChat
 * @Author 友野浩二
 * @Description 微信支付
 * @Version 1.0
 */
@Service
public class PayWeChat implements IPaymentOperate {

    /*
     * @Description // 获取支付渠道
     * @return cn.buddha.jesdp.strategy.complex.enums.PaymentChannelEnum
     **/
    @Override
    public PaymentChannelEnum getPaymentChannelClass() {
        return PaymentChannelEnum.WE_CHAT;
    }

    @Override
    public void payHandle() {
        System.out.println("调用微信接口进行支付");
    }
}
